package com.kt.kvw.util;

import com.kt.kvw.enums.ErrorCode;
import com.kt.kvw.exception.KwvApplicationException;

/**
 * Created with IntelliJ IDEA.
 * Desc:
 *
 * @author: keen
 * Date: 2020-07-13
 * Time: 21:10
 */
public final class ExceptionUtils {
    public static KwvApplicationException cast(String message) {
        throw new KwvApplicationException(message);
    }

    public static KwvApplicationException cast(ErrorCode errorCode) {
        throw new KwvApplicationException(errorCode);
    }
}
